#!/usr/bin/perl -w

use strict;
use warnings 'all';
use Apache2::ASP::API;
use Test::More 'no_plan';
my $api; BEGIN { $api = Apache2::ASP::API->new }

ok( $api );

ok(
  my $res = $api->ua->get('/handlers/redirect_after_trapinclude'),
  'GET /handlers/redirect_after_trapinclude'
);

is( $res->header('location') => '/index.asp' => 'got redirected' );

